package com.xu.cloud.auth.pojo.http;

import com.xu.cloud.common.pojo.http.req.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 短信验证码登录请求实体类
 *
 * @author xuguan
 * @since 2025/2/23
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MessageCodeLoginReq extends BaseRequest {
    /**
     * 短信验证messageToken
     */
    @NotBlank(message = "短信验证messageToken不能为空")
    private String messageToken;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    private String mobileNo;
}
